Correlates the elements of this view and a collection based on matching keys.
Namespace:
C1.LiveLinq.LiveViewsAssembly: C1.Silverlight.LiveLinq (in C1.Silverlight.LiveLinq.dll)
Syntax
C# |
---|
public View<TResult> Join<TInner, TKey, TResult>( ObservableCollection<TInner> inner, Expression<Func<T, TKey>> outerKeySelector, Expression<Func<TInner, TKey>> innerKeySelector, Expression<Func<T, TInner, TResult>> resultSelector ) |
Visual Basic |
---|
Public Function Join(Of TInner, TKey, TResult) ( _ inner As ObservableCollection(Of TInner), _ outerKeySelector As Expression(Of Func(Of T, TKey)), _ innerKeySelector As Expression(Of Func(Of TInner, TKey)), _ resultSelector As Expression(Of Func(Of T, TInner, TResult)) _ ) As View(Of TResult) |
Parameters
- inner
- Type: System.Collections.ObjectModel..::..ObservableCollection<(Of <(<'TInner>)>)>
The collection to join to this view.
- outerKeySelector
- Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T, TKey>)>)>>)>)>
A function to extract the join key from each element of this view.
- innerKeySelector
- Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'TInner, TKey>)>)>>)>)>
A function to extract the join key from each element of the collection.
- resultSelector
- Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T, TInner, TResult>)>)>>)>)>
A function to create a result element from two matching elements.
Type Parameters
- TInner
- The type of the elements of the collection to join with this view.
- TKey
- The type of the keys returned by the key selector functions.
- TResult
- The type of the result elements.